package com.btex.app.entity;

import java.util.List;

/**
 * @author zy zhangyi <zhangyi, 1104745049@QQ.com
 * @version v1.0
 * @project study1
 * @Description
 * @encoding UTF-8
 * @date 2018/5/21
 * @time 下午7:01
 * @修改记录 <pre>
 * 版本       修改人         修改时间         修改内容描述
 * --------------------------------------------------
 * <p>
 * --------------------------------------------------
 * </pre>
 */

public class TradeInfo {

    /**
     * code : 1
     * data : {"list":[{"time":"2018-05-21 18:59:50","price":"0.00001423","num":"2359.1620","total":"0.0335","trade_info":"sell"},{"time":"2018-05-21 18:59:48","price":"0.00001422","num":"100.1305","total":"0.0014","trade_info":"buy"},{"time":"2018-05-21 18:59:47","price":"0.00001424","num":"731.2210","total":"0.0104","trade_info":"buy"},{"time":"2018-05-21 18:59:45","price":"0.00001421","num":"5342.1590","total":"0.0759","trade_info":"buy"},{"time":"2018-05-21 18:59:43","price":"0.00001421","num":"4840.1048","total":"0.0687","trade_info":"buy"},{"time":"2018-05-21 18:59:42","price":"0.00001423","num":"2564.2497","total":"0.0364","trade_info":"buy"},{"time":"2018-05-21 18:59:41","price":"0.00001421","num":"5166.2688","total":"0.0734","trade_info":"sell"},{"time":"2018-05-21 18:59:40","price":"0.00001421","num":"984.7970","total":"0.0139","trade_info":"buy"},{"time":"2018-05-21 18:59:39","price":"0.00001424","num":"4466.9640","total":"0.0636","trade_info":"buy"},{"time":"2018-05-21 18:57:29","price":"0.00001423","num":"1368.2470","total":"0.0194","trade_info":"buy"},{"time":"2018-05-21 18:57:28","price":"0.00001425","num":"6688.4310","total":"0.0953","trade_info":"sell"},{"time":"2018-05-21 18:57:27","price":"0.00001421","num":"3652.1469","total":"0.0518","trade_info":"sell"},{"time":"2018-05-21 18:57:25","price":"0.00001422","num":"6794.1563","total":"0.0966","trade_info":"buy"},{"time":"2018-05-21 18:57:24","price":"0.00001423","num":"575.2355","total":"0.0081","trade_info":"buy"},{"time":"2018-05-21 18:57:23","price":"0.00001423","num":"6560.4650","total":"0.0933","trade_info":"sell"},{"time":"2018-05-21 18:57:22","price":"0.00001422","num":"5089.2600","total":"0.0723","trade_info":"buy"},{"time":"2018-05-21 18:55:05","price":"0.00001441","num":"6816.2185","total":"0.0982","trade_info":"buy"},{"time":"2018-05-21 18:55:04","price":"0.00001439","num":"7515.2957","total":"0.1081","trade_info":"buy"},{"time":"2018-05-21 18:55:03","price":"0.00001437","num":"4062.1135","total":"0.0583","trade_info":"buy"},{"time":"2018-05-21 18:55:02","price":"0.00001438","num":"6106.1468","total":"0.0878","trade_info":"buy"},{"time":"2018-05-21 18:55:00","price":"0.00001440","num":"2761.1142","total":"0.0397","trade_info":"buy"},{"time":"2018-05-21 18:54:59","price":"0.00001438","num":"2063.2376","total":"0.0296","trade_info":"buy"},{"time":"2018-05-21 18:54:57","price":"0.00001438","num":"3590.2372","total":"0.0516","trade_info":"buy"},{"time":"2018-05-21 18:52:06","price":"0.00001426","num":"5888.2042","total":"0.0839","trade_info":"buy"},{"time":"2018-05-21 18:52:04","price":"0.00001425","num":"2255.2160","total":"0.0321","trade_info":"buy"},{"time":"2018-05-21 18:52:03","price":"0.00001428","num":"3196.2212","total":"0.0456","trade_info":"buy"},{"time":"2018-05-21 18:52:02","price":"0.00001428","num":"7125.2531","total":"0.1017","trade_info":"buy"},{"time":"2018-05-21 18:52:01","price":"0.00001428","num":"5628.2910","total":"0.0803","trade_info":"buy"},{"time":"2018-05-21 18:52:00","price":"0.00001424","num":"6221.6250","total":"0.0885","trade_info":"buy"},{"time":"2018-05-21 18:51:58","price":"0.00001425","num":"1852.2370","total":"0.0263","trade_info":"buy"},{"time":"2018-05-21 18:51:57","price":"0.00001428","num":"6515.5790","total":"0.0930","trade_info":"buy"},{"time":"2018-05-21 18:51:56","price":"0.00001426","num":"791.1663","total":"0.0112","trade_info":"buy"},{"time":"2018-05-21 18:49:29","price":"0.00001421","num":"6814.1541","total":"0.0968","trade_info":"buy"},{"time":"2018-05-21 18:49:27","price":"0.00001418","num":"987.2856","total":"0.0139","trade_info":"buy"},{"time":"2018-05-21 18:49:26","price":"0.00001419","num":"4155.8060","total":"0.0589","trade_info":"buy"},{"time":"2018-05-21 18:49:25","price":"0.00001418","num":"2513.2330","total":"0.0356","trade_info":"buy"},{"time":"2018-05-21 18:49:24","price":"0.00001420","num":"460.1358","total":"0.0065","trade_info":"sell"},{"time":"2018-05-21 18:49:23","price":"0.00001420","num":"6427.2836","total":"0.0912","trade_info":"buy"},{"time":"2018-05-21 18:49:21","price":"0.00001420","num":"717.2011","total":"0.0101","trade_info":"buy"},{"time":"2018-05-21 18:49:20","price":"0.00001421","num":"3577.2363","total":"0.0508","trade_info":"buy"},{"time":"2018-05-21 18:46:59","price":"0.00001429","num":"3187.9990","total":"0.0455","trade_info":"buy"},{"time":"2018-05-21 18:46:57","price":"0.00001428","num":"1461.3380","total":"0.0208","trade_info":"sell"},{"time":"2018-05-21 18:46:56","price":"0.00001429","num":"2387.2742","total":"0.0341","trade_info":"buy"},{"time":"2018-05-21 18:46:55","price":"0.00001427","num":"952.1652","total":"0.0135","trade_info":"sell"},{"time":"2018-05-21 18:46:54","price":"0.00001429","num":"1010.2467","total":"0.0144","trade_info":"buy"},{"time":"2018-05-21 18:46:53","price":"0.00001427","num":"3557.2906","total":"0.0507","trade_info":"buy"},{"time":"2018-05-21 18:46:51","price":"0.00001427","num":"1382.2483","total":"0.0197","trade_info":"buy"},{"time":"2018-05-21 18:44:25","price":"0.00001425","num":"1239.2886","total":"0.0176","trade_info":"buy"},{"time":"2018-05-21 18:44:24","price":"0.00001424","num":"7131.2481","total":"0.1015","trade_info":"sell"},{"time":"2018-05-21 18:44:23","price":"0.00001425","num":"4428.9640","total":"0.0631","trade_info":"buy"}],"hash":"8010fd7f078eb01c676331f571c276dc"}
     * info :
     */

    private int code;
    private DataBean data;
    private String info;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public static class DataBean {
        /**
         * list : [{"time":"2018-05-21 18:59:50","price":"0.00001423","num":"2359.1620","total":"0.0335","trade_info":"sell"},{"time":"2018-05-21 18:59:48","price":"0.00001422","num":"100.1305","total":"0.0014","trade_info":"buy"},{"time":"2018-05-21 18:59:47","price":"0.00001424","num":"731.2210","total":"0.0104","trade_info":"buy"},{"time":"2018-05-21 18:59:45","price":"0.00001421","num":"5342.1590","total":"0.0759","trade_info":"buy"},{"time":"2018-05-21 18:59:43","price":"0.00001421","num":"4840.1048","total":"0.0687","trade_info":"buy"},{"time":"2018-05-21 18:59:42","price":"0.00001423","num":"2564.2497","total":"0.0364","trade_info":"buy"},{"time":"2018-05-21 18:59:41","price":"0.00001421","num":"5166.2688","total":"0.0734","trade_info":"sell"},{"time":"2018-05-21 18:59:40","price":"0.00001421","num":"984.7970","total":"0.0139","trade_info":"buy"},{"time":"2018-05-21 18:59:39","price":"0.00001424","num":"4466.9640","total":"0.0636","trade_info":"buy"},{"time":"2018-05-21 18:57:29","price":"0.00001423","num":"1368.2470","total":"0.0194","trade_info":"buy"},{"time":"2018-05-21 18:57:28","price":"0.00001425","num":"6688.4310","total":"0.0953","trade_info":"sell"},{"time":"2018-05-21 18:57:27","price":"0.00001421","num":"3652.1469","total":"0.0518","trade_info":"sell"},{"time":"2018-05-21 18:57:25","price":"0.00001422","num":"6794.1563","total":"0.0966","trade_info":"buy"},{"time":"2018-05-21 18:57:24","price":"0.00001423","num":"575.2355","total":"0.0081","trade_info":"buy"},{"time":"2018-05-21 18:57:23","price":"0.00001423","num":"6560.4650","total":"0.0933","trade_info":"sell"},{"time":"2018-05-21 18:57:22","price":"0.00001422","num":"5089.2600","total":"0.0723","trade_info":"buy"},{"time":"2018-05-21 18:55:05","price":"0.00001441","num":"6816.2185","total":"0.0982","trade_info":"buy"},{"time":"2018-05-21 18:55:04","price":"0.00001439","num":"7515.2957","total":"0.1081","trade_info":"buy"},{"time":"2018-05-21 18:55:03","price":"0.00001437","num":"4062.1135","total":"0.0583","trade_info":"buy"},{"time":"2018-05-21 18:55:02","price":"0.00001438","num":"6106.1468","total":"0.0878","trade_info":"buy"},{"time":"2018-05-21 18:55:00","price":"0.00001440","num":"2761.1142","total":"0.0397","trade_info":"buy"},{"time":"2018-05-21 18:54:59","price":"0.00001438","num":"2063.2376","total":"0.0296","trade_info":"buy"},{"time":"2018-05-21 18:54:57","price":"0.00001438","num":"3590.2372","total":"0.0516","trade_info":"buy"},{"time":"2018-05-21 18:52:06","price":"0.00001426","num":"5888.2042","total":"0.0839","trade_info":"buy"},{"time":"2018-05-21 18:52:04","price":"0.00001425","num":"2255.2160","total":"0.0321","trade_info":"buy"},{"time":"2018-05-21 18:52:03","price":"0.00001428","num":"3196.2212","total":"0.0456","trade_info":"buy"},{"time":"2018-05-21 18:52:02","price":"0.00001428","num":"7125.2531","total":"0.1017","trade_info":"buy"},{"time":"2018-05-21 18:52:01","price":"0.00001428","num":"5628.2910","total":"0.0803","trade_info":"buy"},{"time":"2018-05-21 18:52:00","price":"0.00001424","num":"6221.6250","total":"0.0885","trade_info":"buy"},{"time":"2018-05-21 18:51:58","price":"0.00001425","num":"1852.2370","total":"0.0263","trade_info":"buy"},{"time":"2018-05-21 18:51:57","price":"0.00001428","num":"6515.5790","total":"0.0930","trade_info":"buy"},{"time":"2018-05-21 18:51:56","price":"0.00001426","num":"791.1663","total":"0.0112","trade_info":"buy"},{"time":"2018-05-21 18:49:29","price":"0.00001421","num":"6814.1541","total":"0.0968","trade_info":"buy"},{"time":"2018-05-21 18:49:27","price":"0.00001418","num":"987.2856","total":"0.0139","trade_info":"buy"},{"time":"2018-05-21 18:49:26","price":"0.00001419","num":"4155.8060","total":"0.0589","trade_info":"buy"},{"time":"2018-05-21 18:49:25","price":"0.00001418","num":"2513.2330","total":"0.0356","trade_info":"buy"},{"time":"2018-05-21 18:49:24","price":"0.00001420","num":"460.1358","total":"0.0065","trade_info":"sell"},{"time":"2018-05-21 18:49:23","price":"0.00001420","num":"6427.2836","total":"0.0912","trade_info":"buy"},{"time":"2018-05-21 18:49:21","price":"0.00001420","num":"717.2011","total":"0.0101","trade_info":"buy"},{"time":"2018-05-21 18:49:20","price":"0.00001421","num":"3577.2363","total":"0.0508","trade_info":"buy"},{"time":"2018-05-21 18:46:59","price":"0.00001429","num":"3187.9990","total":"0.0455","trade_info":"buy"},{"time":"2018-05-21 18:46:57","price":"0.00001428","num":"1461.3380","total":"0.0208","trade_info":"sell"},{"time":"2018-05-21 18:46:56","price":"0.00001429","num":"2387.2742","total":"0.0341","trade_info":"buy"},{"time":"2018-05-21 18:46:55","price":"0.00001427","num":"952.1652","total":"0.0135","trade_info":"sell"},{"time":"2018-05-21 18:46:54","price":"0.00001429","num":"1010.2467","total":"0.0144","trade_info":"buy"},{"time":"2018-05-21 18:46:53","price":"0.00001427","num":"3557.2906","total":"0.0507","trade_info":"buy"},{"time":"2018-05-21 18:46:51","price":"0.00001427","num":"1382.2483","total":"0.0197","trade_info":"buy"},{"time":"2018-05-21 18:44:25","price":"0.00001425","num":"1239.2886","total":"0.0176","trade_info":"buy"},{"time":"2018-05-21 18:44:24","price":"0.00001424","num":"7131.2481","total":"0.1015","trade_info":"sell"},{"time":"2018-05-21 18:44:23","price":"0.00001425","num":"4428.9640","total":"0.0631","trade_info":"buy"}]
         * hash : 8010fd7f078eb01c676331f571c276dc
         */

        private String hash;
        private List<ListBean> list;

        public String getHash() {
            return hash;
        }

        public void setHash(String hash) {
            this.hash = hash;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * time : 2018-05-21 18:59:50
             * price : 0.00001423
             * num : 2359.1620
             * total : 0.0335
             * trade_info : sell
             */

            private String time;
            private String price;
            private String num;
            private String total;
            private String trade_info;

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }

            public String getTrade_info() {
                return trade_info;
            }

            public void setTrade_info(String trade_info) {
                this.trade_info = trade_info;
            }
        }
    }
}
